﻿namespace ClassLibrary.DataLayer.DataObjects
{
    using ClassLibrary.BusinessLayer.BusinessObjects;
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Data.Common;

    public interface IProjectSupervisorDAO
    {
        bool DeleteProjectSupervisor(ProjectSupervisor2 clsProjectSupervisor);
        IList<ProjectSupervisor2> GetProjectSupervisor(ProjectSupervisor2 clsProjectSupervisor);
        IList<ProjectSupervisor2> GetProjectSupervisor(string ProjectCode);
        IList<ProjectSupervisor2> GetsProjectSupervisor();
        DataTable GetsProjectSupervisor(string SPName, DbParameter[] param);
        bool InsertProjectSupervisor(ProjectSupervisor2 clsProjectSupervisor);
        int InsertProjectSupervisorReturnIdentity(ProjectSupervisor2 clsProjectSupervisor);
        string InsertProjectSupervisorReturnOutput(ProjectSupervisor2 clsProjectSupervisor);
        IList<ProjectSupervisor2> ListProjectSupervisor(ProjectSupervisor2 clsProjectSupervisor);
        IList<ProjectSupervisor2> ListProjectSupervisor(string ProjectCode);
        bool UpdateProjectSupervisor(ProjectSupervisor2 clsProjectSupervisor);
        int UpdateProjectSupervisor(string SPName, DbParameter[] param);
    }
}

